$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
--- Makefile.orig	2003-04-21 12:51:38.000000000 -0700
+++ Makefile	2003-11-01 13:54:47.000000000 -0800
@@ -1,11 +1,9 @@
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags`
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
 
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
-LIBS = $(GTK_LIB)
-LFLAGS = -shared
-
-CC = gcc $(CFLAGS) $(FLAGS)
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${PREFIX}/include
+LIBS += $(GTK_LIB)
+LFLAGS += -shared -pthread
 
 OBJS = gkrellstock.o
 
